home *** CD-ROM | disk | FTP | other *** search
- Path: un1.satlink.com!softdata!softdata!ANGEL
- From: abrisig@softdata.satlink.net (Angel E. Brisighelli)
- Newsgroups: comp.os.ms-windows.programmer.tools.mfc,comp.lang.c++
- Subject: Re: Controls in non-dialog (mfc)
- Date: Wed, 10 Apr 96 18:10:58 EDT
- Message-ID: <3a0asdw60.alamito@softdata.satlink.net>
- Reply-To: abrisig@softdata.satlink.net
- References: <4k81um$s8t@pub.news.uk.psi.net>
- X-Newsreader: Alamito Mail and News Manager (V2.0.4 for Waffle) (unregistered)
-
- >sj2393@ansys.com (Steve Jones) writes:
- >> How in MFC does one go about embedding a control within a
- >> window that is not a dialog box? For example, I can
- >> construct and Create() a CEdit object within a CView derived
- >> class, but nothing (apparently) happens. I knew when I
- >> tried it something wasn't quite right; I wasn't sure what to
- >> use for the nID. Is it necessary to use a resource?
- >>
- >>
- >> steve
- >>
- >> stevejones@ansys.com
- >>
- I do this in some programs without problems.
- A stupid question. Do you put the WS_VISIBLE attribute in the Create() call,
- and pass the pointer at your View in the parent field ?
-
- chau
-
-
- --
- //--------------------------------------------------------------------
- // Angel E. Brisighelli Soft Data S.A.
- // abrisig@softdata.satlink.net Malabia 853
- // Buenos Aires, Argentina Tel. (54) 1-777-0444
- //--------------------------------------------------------------------
- //
-
-